English
getchwd() function returns the current working directory.
getchwd()
Get the current working directory:
<?php echo getcwd ( ) ?>
result:
/home/php
getcwd();